package com.stm.bi.dto.query;

import com.stm.bi.enums.ParamType;
import com.stm.framework.annotation.ReqParam;

/**
 * @Description:
 * @Author: bo
 * @Date: 2023/10/17 9:20
 */
public class ParamQry {

    @ReqParam(label = "类型", required = true, enumClass = ParamType.class)
    private String type;

    @ReqParam(label = "编码")
    private String code;

    @ReqParam(label = "编码列表")
    private String[] codes;

    @ReqParam(label = "查询条件", required = false, note = "默认： =")
    private String queryCriteria;

    public String getType() {
        return type;
    }

    public ParamQry setType(String type) {
        this.type = type;
        return this;
    }

    public String getCode() {
        return code;
    }

    public ParamQry setCode(String code) {
        this.code = code;
        return this;
    }

    public String getQueryCriteria() {
        return queryCriteria;
    }

    public ParamQry setQueryCriteria(String queryCriteria) {
        this.queryCriteria = queryCriteria;
        return this;
    }

    public String[] getCodes() {
        return codes;
    }

    public void setCodes(String[] codes) {
        this.codes = codes;
    }
}
